package com.examination.client.util;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 乘客端关于短信操作
 */
@Component
public class SmsMethod {
    @Autowired
    private SendSMS sendSms;

    /**
     * 发送验证码
     */
    public void getRandomCode(String phone, Integer randomCode) {
        sendSms.sendRandomCode(phone, randomCode);
    }

}
